package com.TeaManage.bean;

import java.util.Date;

public class Logistics {
    private Integer logistics_id;
    private Integer order_id;
    private String logistics_no;
    private String logistics_company;
    private Date shipping_time;
    private Date receiver_time;
    private Integer status=0;
    private String order_no; // 用于显示，不存储在数据库中
    private String customer_name; // 用于显示，不存储在数据库中

    public Logistics() {
    }

    public Logistics(Integer logistics_id, Integer order_id, String logistics_no, String logistics_company, Date shipping_time, Date receiver_time, Integer status) {
        this.logistics_id = logistics_id;
        this.order_id = order_id;
        this.logistics_no = logistics_no;
        this.logistics_company = logistics_company;
        this.shipping_time = shipping_time;
        this.receiver_time = receiver_time;
        this.status = status;
    }

    /**
     * 获取
     * @return logistics_id
     */
    public Integer getLogistics_id() {
        return logistics_id;
    }

    /**
     * 设置
     * @param logistics_id
     */
    public void setLogistics_id(Integer logistics_id) {
        this.logistics_id = logistics_id;
    }

    /**
     * 获取
     * @return order_id
     */
    public Integer getOrder_id() {
        return order_id;
    }

    /**
     * 设置
     * @param order_id
     */
    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    /**
     * 获取
     * @return logistics_no
     */
    public String getLogistics_no() {
        return logistics_no;
    }

    /**
     * 设置
     * @param logistics_no
     */
    public void setLogistics_no(String logistics_no) {
        this.logistics_no = logistics_no;
    }

    /**
     * 获取
     * @return logistics_company
     */
    public String getLogistics_company() {
        return logistics_company;
    }

    /**
     * 设置
     * @param logistics_company
     */
    public void setLogistics_company(String logistics_company) {
        this.logistics_company = logistics_company;
    }

    /**
     * 获取
     * @return shipping_time
     */
    public Date getShipping_time() {
        return shipping_time;
    }

    /**
     * 设置
     * @param shipping_time
     */
    public void setShipping_time(Date shipping_time) {
        this.shipping_time = shipping_time;
    }

    /**
     * 获取
     * @return receiver_time
     */
    public Date getReceiver_time() {
        return receiver_time;
    }

    /**
     * 设置
     * @param receiver_time
     */
    public void setReceiver_time(Date receiver_time) {
        this.receiver_time = receiver_time;
    }

    /**
     * 获取
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取
     * @return order_no
     */
    public String getOrder_no() {
        return order_no;
    }

    /**
     * 设置
     * @param order_no
     */
    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    /**
     * 获取
     * @return customer_name
     */
    public String getCustomer_name() {
        return customer_name;
    }

    /**
     * 设置
     * @param customer_name
     */
    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public String toString() {
        return "Logistics{logistics_id = " + logistics_id + ", order_id = " + order_id + ", logistics_no = " + logistics_no + ", logistics_company = " + logistics_company + ", shipping_time = " + shipping_time + ", receiver_time = " + receiver_time + ", status = " + status + ", order_no = " + order_no + ", customer_name = " + customer_name + "}";
    }
}
